from src.chart.test_frame_03 import Foo
def pytest_assertrepr_compare(op, left, right):
    if isinstance(left, Foo) and isinstance(right, Foo) and op == "==":
        return ["Foo objects are equal", "left: %s" % left, "right: %s" % right]

